home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 10,000 to 10,999 / 10000.zip / AOLDLs / VB Examples / DBDEMO_ View_Create Databases / info.txt < prev   
Encoding:
Internet Message Format  |  2014-12-13  |  1.6 KB

  1. Subject:  DBDEMO: View/Create Databases
  2. Author:  Jay Windley
  3. Uploaded By:  Windley JC
  4. Date:  7/31/1997
  5.  
  6. File:  CREATEDB.ZIP (9444 bytes) 
  7. Estimated Download Time (1927 baud):  < 1 minute
  8. Download Count:  1201
  9.  
  10. Needs:  Visual Basic 3 Professional Edition
  11.  
  12. Keywords:  Windley, Programming, Source, Code, Database, SQL,
  13.  
  14. Type:  Freely Distributed
  15. Version:  August 1997
  16.  
  17. I wrote this little app to help a programmer who wanted to create a database but didn't have a DB program (like Access)
  18.  
  19. 1) You can open an existing database file (Access version 2.0 or earlier) and examine the tables and queries, including fields, field data types, field values and SQL statements.
  20.  
  21. 2) You can append tables to a database or fields to a table.
  22.  
  23. 3) You can create a new database (Access 2.0) and add its tables and fields.
  24.  
  25. The code is commented, and should give a fairly good idea how to use VB's data access objects to create, view and manipulate database files.
  26.  
  27. The ZIP file contains a VB3 form and its executable.
  28.  
  29. There's no error trapping (this was a one night project) so don't do something foolish like give a table the name of an already existing table, or set the size of a text field to a negative number, etc.
  30.  
  31. Note:   This code is intended specifically for VB 3 Pro.  It will NOT work with VB 3 Standard Edition because the Standard Edition does not fully support VB's data access features.  With modifications, it can be made to work with later versions of VB Pro.  You will need to have the Common Dialog control loaded prior to opening the form file or you will get an error.
  32.  
  33.  
  34.